#!/bin/sh

# for test
DEVPATH='/dev/sda1'

uuid='EFA1DE6713C22895'
mountpoint='/mnt/1000t'

blkdev=`dirname $DEVPATH`
blkuuid=`blkid $DEVPATH | awk '{printf $3 "\n"}' | sed 's/UUID=\"//g' | sed 's/\"//g'`

if $blkuuid -eq $uuid; then
    ntfs-3g -o nls=utf8 $DEVPATH $mountpoint
fi
